package org.jeecg.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.system.entity.SysConfig;
import org.jeecg.modules.system.mapper.SysConfigMapper;
import org.jeecg.modules.system.service.ISysConfigService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 系统配置信息
 * @Author: jeecg-boot
 * @Date:   2020-11-27
 * @Version: V1.0
 */
@Service
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig> implements ISysConfigService {

    @Override
    public String getValueByKey(String key) {
        return baseMapper.getValueByKey(key);
    }

    @Override
    public List<String> getValueListByKey(String key) {
        return baseMapper.getValueListByKey(key);
    }

    @Override
    public SysConfig selectByKey(String key) {
        return baseMapper.selectByKey(key);
    }
}
